import { Meta } from '@storybook/blocks';
import YouTubeVideoPlayer from '@/components/YouTubeVideoPlayer';
import * as OpacityStories from '../stories/Opacity.stories';

<Meta of={OpacityStories} />

# Opacity

A material design floating action button.

<YouTubeVideoPlayer videoId="9hltevOHQBw" />

## Example

```dart liveslice=Opacity
Opacity(
  opacity: _visible ? 1.0 : 0.0,
  child: const Text('Now you see me, now you don\'t!'),
)
```

## Related Links

- https://api.flutter.dev/flutter/widgets/Opacity-class.html
- https://youtu.be/9hltevOHQBw
